{{include template('public/header','admin')}}
<body>
    <div id="page-wrapper">
        <div class="row">
            <div class="col-lg-12">
                <div class="page-header">
                    <h3>{{L('category')}}</h3>
                    <div class="opt-btn">
                        <a href="/admin/category/add/?action=add&type=0" class="btn hidden-xs btn-sm btn-primary" data-title='添加栏目'><i class="fa fa-fw fa-plus"></i>{{L('add')}}{{L('category')}}</a>
                        <a href="/admin/category/add/?action=add&type=1" class="btn hidden-xs btn-sm btn-info" data-title='添加单页'><i class="fa fa-fw fa-plus"></i>{{L('add')}}{{L('category_page')}}</a>
                        <a href="/admin/category/add/?action=add&type=2" class="btn hidden-xs btn-sm btn-success" data-title='添加外部链接'><i class="fa fa-fw fa-plus"></i>{{L('add')}}{{L('category_link')}}</a>
                    </div>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <form method="post" action="/admin/category/sort" class="form-inline" role="form">
                    <table id='NewsclassList' class="table table-condensed table-hover table-striped tablesorter table-fixed table-selectable">
                        <thead>
                            <tr>
                                <th width="50">{{L('category_sort')}}</th>
                                <th width="60">{{L('category_catid')}}</th>
                                <th class="text-l">{{L('category_catname')}}</th>
                                <th width="70">{{L('category_type')}}</th>
                                <th width="70">{{L('category_modelid')}}</th>
                                <th width="70">{{L('category_disabled')}}</th>
                                <th width="70">{{L('category_member_publish')}}</th>
                                <th width="290">{{L('edit')}}</th>
                            </tr>
                        </thead>
                        <tbody>
                            {{$items}}
                        </tbody>
                    </table>
                    <div class="cl pd-5 bg-1 bk-gray"> <span class="l"><input class="btn btn-primary" name="dosubmit" value="{{L('category_sort')}}" type="submit"></span></div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>


